package com.medical.admin.sys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.medical.admin.sys.common.dto.RoleDto;

import java.util.List;

/*
 * @Date : 2024/4/26 16:37
 * @Created by Lang
 * @ProjectName : medical-appointment-registration
 */
public interface RoleService {
    Integer addRole(RoleDto roleDto);

    Page<RoleDto> list(String roleName, Integer pageNum, Integer pageSize);

    Integer modStatusById(Integer roleId, Integer roleStatus);

    Integer mod(RoleDto roleDto);

    Integer delBatch(Integer[] roleIds);

    Integer del(Integer roleId);

    RoleDto selectById(Integer roleId);
}
